package itheima.zuoye.test8;

public class SilverCard  extends  Card{
    public SilverCard(String id, double balance) {
        super(id, balance);
    }
//按照原价的8.5折
    @Override
    public void pay() {
        System.out.println("使用银卡支付，实际支付金额：" + getBalance() * 0.85);


    }
}
